<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/favicon.ico" />
  <meta name="viewport"
    content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover" />
  <title>读书的鱼-文字投影效果</title>
  <meta name="keywords" content="读书的鱼,读书的鱼儿,前端,front-end,sunnyfan,git,Vue,React,Css,Javascript,html5,个人博客,前端技术,前端分享" />
  <meta name="description"
    content="读书的鱼是关注与分享互联网及前端技术的个人博客，致力于前端开发、网站搜索、微信公众号开发、小程序开发、前端方案技术分享的一个网站。同时也会记录个人的一路点滴，日常生活等等，欢迎关注。" />
  <meta name="msvalidate.01" content="C2C544AABE51D4326F7BC0DD52BF50D9" />
  <link rel="stylesheet" href="//at.alicdn.com/t/c/font_2735581_ebdjx7m41t.css">
  <script>
    const { origin, pathname, search, hash } = window.location
    if (!search || !search.includes('t=')) {
      window.location.replace(`${origin}${pathname}${search}${search ? '&' : '?'}t=${Date.now()}${hash}`)
    }
  </script>
  <script>
    var _hmt = _hmt || [];
    (function () {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?3c0cbb9fdb0368abe7cb5f2b6c6b8b3d";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    .wrapper {
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: gray;
      position: relative;
    }

    .shadow {
      position: relative;
      z-index: 2;
      font-size: 50px;
      color: #fff;
      font-weight: bold;
    }

    .shadow::before {
      position: absolute;
      z-index: -1;
      left: 0;
      content: 'SUNNY FAN';
      color: #000;
      transform: translate(-30px, 10px) scaleY(0.5) skew(50deg);
      filter: blur(2px);
      mask-image: linear-gradient(transparent, #ccc);
    }
  </style>
</head>

<body>
  <div id="app">
    <div class="wrapper">
      <div class="shadow">SUNNY FAN</div>
    </div>
  </div>
</body>

</html>